package com.ruoyi.report_hntjg.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 钢筋位置及保护层厚度试验检测记录-详情对象 report_hntjg_gjbhcjlb_ba_detail
 *
 * @author tll
 * @date 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("report_hntjg_gjbhcjlb_ba_detail")
public class ReportHntjgGjbhcjlbBaDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "detail_id")
    private Long detailId;
    /**
     * 主表id
     */
    private Long excelId;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;
    /**
     * 备注
     */
    private String remark;
    /**
     * 实测值1
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal shicz1;
    /**
     * 实测值2
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal shicz2;
    /**
     * 类型 baohc 保护层 gangj 钢筋
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String type;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer sort;

    public ReportHntjgGjbhcjlbBaDetail(Long excelId, long i) {
        this.excelId = excelId;
        this.sort = (int) i;
    }
}
